package com.mate.cloud.entity;

import lombok.Data;

/**
 * 用户实体类
 */
@Data
public class User {

    private Integer id; // ID，数据库自增
    private String account; // 登录账号，UUID生成
    private String name; // 姓名
    private Integer age; // 年龄

    public User() {
    }

    public User(Integer id, String account, String name, Integer age) {
        this.id = id;
        this.account = account;
        this.name = name;
        this.age = age;
    }


}
